# coding:utf-8
import requests

from app import BASE_URL


class LoginAPI:
    def __init__(self):
        self.login_url=BASE_URL+'/api/sys/login'
    def login(self,login_data):
        return requests.post(self.login_url,json=login_data)
